package cn.bjit.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 就是UserDO的一个备份，主要是为了解耦
 */
@ApiModel(value = "用户注册对象", description = "用户请求对象")
@Data
public class UserRegisterRequest {
    @ApiModelProperty(value = "姓名",example = "admin")
    private String name;
    @ApiModelProperty(value="密码",example = "123456")
    private String pwd;
    @ApiModelProperty(value = "头像",example = "https://pass-user-service-img.oss-cn-beijing.aliyuncs.com/user/2022/06/03/7b3546fc541e40928347939feaee54b8.png")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value="0表示女，1表示男",example = "1")
    private Integer sex;

    @ApiModelProperty(value="邮箱",example = "yangxing7758@qq.com")
    private String mail;

    @ApiModelProperty(value = "用户个人性签名",example = "相信相信的力量")
    private String slogan;

    @ApiModelProperty(value = "验证码",example = "232343")
    private String code;

}
